<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="http://www.bilibili.com">
    <!--maxlength 最大长度-->
    用户名：<input type="text" name="username" maxlength="9" value="biubiubiu" readonly><br>
    密码：<input type="password" name="password"><br>
    <!--value 是单边框必须添加的属性 否则提交on
    checked 默认选中-->
    性别:<input type="radio" name="gender" checked value="m" id="r1"><label for="r1">男</label>

        <input type="radio" name="gender" value="w" id="r2"><label for="r2">女</label><br>
    兴趣爱好:<input type="checkbox" name="hobby" value="cy">抽烟
    <input type="checkbox" name="hobby" value="hj">喝酒
    <input type="checkbox" name="hobby" value="dp" checked>打牌<br>
    生日:<input type="date" name="birthday"><br>
    靓照:<input type="file" name="pic"><br><!--照片选择器-->
    所在地:
    <!--value 设置提交的内容  selected默认选中-->
    <select name="city">
        <option value="bj">北京</option>
        <option selected value="cd">成都</option>
        <option value="sz">深圳</option>
    </select><br>

    <input type="submit" name="注册"><!--提交-->
    <input type="time">

</form>
</body>
</html>